package com.bee.commons.utils;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * @author Damin.yang
 * @date 2019/08/17 10:57
 */
public class ShaUtil {

    /**
     * sha1加密
     * @param args
     * @return
     */
    public static String sha1(String args) {
        return DigestUtils.sha1Hex(args);
    }
}
